COMMAND KICK ANY
     PrintMessage 144
     DoneWithTurn
END_COMMAND

COMMAND KISS ANY
     AtLocationGT 2
     PrintMessage 145
     DoneWithTurn
END_COMMAND

COMMAND SHAKE ANY
     PrintMessage 146
     DoneWithTurn
END_COMMAND

COMMAND SHOOT PHANTOM WITH GUN
     ReDirectTo PLUG PHANTOM WITH GUN
END_COMMAND
     
COMMAND PLUG PHANTOM WITH GUN
     AtLocation 41
     IsCarrying 289
     Present 298
     PrintMessage 156
     Destroy 298
     TurnFlagOFF 8
     Destroy 292
     PutInCurrentRoom 290
     ChangePassageway 1 0
     PlusScore 30
     DoneWithTurn
END_COMMAND

COMMAND SHOOT PHANTOM
     ReDirectTo PLUG PHANTOM
END_COMMAND

COMMAND PLUG PHANTOM
     AtLocation 41
     IsCarrying 289
     Present 298
     PrintMessage 155
     DoneWithTurn
END_COMMAND

COMMAND ENTER BODY
     AtLocation 46
     PlusScore 25
     GoToRoom 47
     DoneWithTurn
END_COMMAND

COMMAND REMOVE SPECTACLES
     NOUNIsNumber 269
     IsWearing 269
     ToggleFlag 6
     SendNounToRoom 1
     PrintMessage 8
     DoneWithTurn
END_COMMAND

COMMAND WEAR SPECTACLES
     IsCarrying 269
     IsWearing 210
     PrintMessage 117
     DoneWithTurn
END_COMMAND

COMMAND WEAR SPECTACLES
     NOUNIsNumber 269
     NOT IsWearing 210
     IsCarrying 269
     WearIt 269
     ToggleFlag 6
     PrintMessage 4
     PrintMessage 118
     DoneWithTurn
END_COMMAND

COMMAND SHIT
     PrintMessage 14
     DoneWithTurn
END_COMMAND

COMMAND HELL
     PrintMessage 35
     DoneWithTurn
END_COMMAND

COMMAND LIST EXITS
     PrintMessage 65
     DoneWithTurn
END_COMMAND

COMMAND TIGHTEN STRAPS
     AtLocation 2
     GetNOUN 211
     PrintMessage 16
     DoneWithTurn
END_COMMAND

COMMAND PULL RING
     AtLocation 2
     InRoom 214
     NOT IsCarrying 211
     PrintMessage 31
     GoToRoom 199
     DoneWithTurn
END_COMMAND

COMMAND PULL RING
     AtLocation 2
     InRoom 214
     IsCarrying 211
     SwapLocations 211 215
     TurnFlagON 5
     PrintMessage 32
     WearIt 269
     TurnFlagON 6
     GoToRoom 3
     PrintMessage 118
     DoneWithTurn
END_COMMAND

COMMAND PLUG WIRE INTO OUTLET
     NOT IsWearing 210
     PrintMessage 30
     DoneWithTurn
END_COMMAND

COMMAND PLUG WIRE INTO OUTLET
     IsWearing 210
     AtLocation 2
     PrintMessage 15
     DoneWithTurn
END_COMMAND

COMMAND PLUG WIRE INTO OUTLET
     IsWearing 210
     AtLocation 7
     PrintMessage 36
     DoneWithTurn
END_COMMAND

COMMAND PLUG WIRE INTO OUTLET
     IsWearing 210
     Present 256
     PrintMessage 92
     DoneWithTurn
END_COMMAND

COMMAND UNPLUG WIRE
     PrintMessage 25
     DoneWithTurn
END_COMMAND

; Comments re falling plane
; Flag 1 is OFF at start of game and ON when console is examined
; Variable 1  counts down decent of plane
; Examine Console starts countdown

; Comments re match
; Flag 2 is ON when match is struck
; Variable 2 counts down life of match (6 turns)

; Comments re torch
; Flag 3 is ON when torch is lit
; Variable 3 counts down life of torch (120 turns)

; Comments re icepick/block of ice
; Flag 4 is ON when BREAK BLOCK WITH ICEPICK
; Variable 4 counts down size of block (4 turns)

; Comments re time in Ice Cave
; Flag 5 is ON when enter Room 3
; Variable 5 counts down time player can stand the cold (110 turns)

; Comments re wearing specs
; Flag 6 is ON when WEAR SPECS
; Variable 6 counts down ability to wear (18 turns)
; Flag 6 is OFF when REMOVE SPECS

; Comments re mummy
; Flag 7 is ON when feed candy to mummy
; Variable 7 counts down moves until mummy falls on player (13)
; Flag 7 is turned OFF when mummy meets phantom and flees
; Flag 7 is turned OFF when mummy meets vampire

; Comments re phantom
; Flag 8 is ON when go south from high balcony
; Variable 8 counts down moves until phantom kills player (6)

; Comments re vampire
; Flag 9 is ON when try to drive stake in vampire
; Variable 9 counts down moves until vampire kills player (6)
; 


COMMAND N
     AtLocation 22
     OR
     AtLocation 23
     OR
     AtLocation 24
     OR
     AtLocation 25
     VerbIsDirection
     GoToRandomRoom 23 24
     PutInCurrentRoom 256  (*outlet*)
     PutInCurrentRoom 265  (*sign*)
     PutInCurrentRoom 266  (*keypad*)
     PutInCurrentRoom 267  (*360*)
     PrintMessage 112      (*you go $VERB$)
     DoneWithTurn
END_COMMAND

COMMAND S
     AtLocation 22
     OR
     AtLocation 23
     OR
     AtLocation 24
     OR
     AtLocation 25
     VerbIsDirection
     GoToRandomRoom 23 24
     PutInCurrentRoom 256  (*outlet*)
     PutInCurrentRoom 265  (*sign*)
     PutInCurrentRoom 266  (*keypad*)
     PutInCurrentRoom 267  (*360*)
     PrintMessage 112      (*you go $VERB$)
     DoneWithTurn
END_COMMAND

COMMAND E
     AtLocation 22
     OR
     AtLocation 23
     OR
     AtLocation 24
     OR
     AtLocation 25
     VerbIsDirection
     GoToRandomRoom 23 24
     PutInCurrentRoom 256  (*outlet*)
     PutInCurrentRoom 265  (*sign*)
     PutInCurrentRoom 266  (*keypad*)
     PutInCurrentRoom 267  (*360*)
     PrintMessage 112      (*you go $VERB$)
     DoneWithTurn
END_COMMAND

COMMAND W
     AtLocation 22
     OR
     AtLocation 23
     OR
     AtLocation 24
     OR
     AtLocation 25
     VerbIsDirection
     GoToRandomRoom 23 24
     PutInCurrentRoom 256  (*outlet*)
     PutInCurrentRoom 265  (*sign*)
     PutInCurrentRoom 266  (*keypad*)
     PutInCurrentRoom 267  (*360*)
     PrintMessage 112      (*you go $VERB$)
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagOFF 1
     SetVariableTo 1 30
     TurnFlagON 1
END_COMMAND

COMMAND ANY
     FlagON 1
     SubtractFromVariable 1 1
END_COMMAND

COMMAND ANY
     FlagOFF 2
     SetVariableTo 2 6
END_COMMAND

COMMAND ANY
     FlagON 2
     SubtractFromVariable 2 1
END_COMMAND

COMMAND ANY
     FlagOFF 3
     SetVariableTo 3 120
END_COMMAND

COMMAND ANY
     FlagON 3
     SubtractFromVariable 3 1
END_COMMAND

COMMAND ANY
     FlagOFF 4
     SetVariableTo 4 3
END_COMMAND

COMMAND ANY
     FlagON 4
     SubtractFromVariable 4 1
END_COMMAND

COMMAND ANY
     FlagOFF 5
     SetVariableTo 5 110
END_COMMAND

COMMAND ANY
     FlagON 5
     SubtractFromVariable 5 1
END_COMMAND

COMMAND ANY
     FlagOFF 7
     SetVariableTo 7 13
END_COMMAND

COMMAND ANY
     FlagON 7
     SubtractFromVariable 7 1
END_COMMAND

COMMAND ANY
     FlagOFF 8
     SetVariableTo 8 6
END_COMMAND

COMMAND ANY
     FlagON 8
     SubtractFromVariable 8 1
END_COMMAND

COMMAND ANY
     FlagOFF 9
     SetVariableTo 9 6
END_COMMAND

COMMAND ANY
     FlagON 9
     SubtractFromVariable 9 1
END_COMMAND

COMMAND EAST
     AtLocation 36
     IsSomewhere 296
     ToggleFlag 7
     GoToRoom 41
     DoneWithTurn
END_COMMAND

COMMAND WEST
     AtLocation 41
     IsSomewhere 296
     ToggleFlag 7
     GoToRoom 36
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 40
     IsSomewhere 296
     ToggleFlag 7
     GoToRoom 42
     DoneWithTurn
END_COMMAND

COMMAND UP
     AtLocation 42
     IsSomewhere 296
     ToggleFlag 7
     GoToRoom 40
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 7
     AtLocationLT 41
     OR
     AtLocationGT 42
     PutInCurrentRoom 296
     VariableEquals 7 9
     PrintMessage 126
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 7
     AtLocationLT 41
     OR
     AtLocationGT 42
     PutInCurrentRoom 296
     VariableEquals 7 6
     PrintMessage 126
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 7
     AtLocationLT 41
     OR
     AtLocationGT 42
     PutInCurrentRoom 296
     VariableEquals 7 3
     PrintMessage 126
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 7
     AtLocationLT 41
     OR
     AtLocationGT 42
     PutInCurrentRoom 296
     VariableEquals 7 0
     PrintMessage 127
     GoToRoom 199
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 1
     AtLocation 2
     VariableGT 1 0
     VariableEquals 1 22
     PrintMessage 10
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 1
     AtLocation 2
     VariableGT 1 0
     VariableEquals 1 12
     PrintMessage 11
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 1
     AtLocation 2
     VariableGT 1 0
     VariableEquals 1 5
     PrintMessage 12
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 1
     AtLocation 2
     VariableEquals 1 0
     GoToRoom 199
     PrintMessage 13
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 2
     VariableEquals 2 0
     TurnFlagOFF 2
     SwapLocations 237 238
     PrintMessage 62   (*match out*)
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 3
     Present 235
     VariableEquals 3 75
     PrintMessage 69  (*not as bright*)
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 3
     Present 235
     VariableEquals 3 25
     PrintMessage 82  (*flickering rather badly*)
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 3
     Present 235
     VariableEquals 3 10  (*just a wisp of a flame*)
     PrintMessage 83
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 3
     Present 235
     VariableEquals 3 0
     SwapLocations 235 252
     PrintMessage 84
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 5
     VariableEquals 5 75
     PrintMessage 79
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 5
     VariableEquals 5 35
     PrintMessage 88
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 5
     VariableEquals 5 15
     PrintMessage 89
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 5
     VariableEquals 5 3
     DropEverything
     PrintMessage 90
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 5
     VariableEquals 5 0
     DropEverything
     PrintMessage 91
     GoToRoom 199
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagOFF 6
     SetVariableTo 6 18
END_COMMAND

COMMAND ANY
     FlagON 6
     SubtractFromVariable 6 1
END_COMMAND

COMMAND ANY
     FlagON 6
     VariableEquals 6 12
     PrintMessage 119
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 6
     VariableEquals 6 6
     PrintMessage 120
     DoneWithTurn
END_COMMAND

COMMAND ANY
     FlagON 6
     VariableEquals 6 0
     RemoveIt 269
     DropEverything
     PrintMessage 121
     DoneWithTurn
END_COMMAND

COMMAND GET BALL
     AtLocation 22
     PrintMessage 81
     GoToRoom 199
     DoneWithTurn
END_COMMAND

COMMAND GET ROPE
     AtLocation 6
     InRoom 264
     NOT IsCarrying 264
     SwapLocations 264 223
     SwapLocations 263 232
     GetIt 223
     PrintMessage 18
     DoneWithTurn
END_COMMAND

COMMAND GET TORCH
     AtLocation 14
     Present 234
     PrintMessage 106
     DoneWithTurn
END_COMMAND

COMMAND GET ALL
     PrintMessage 17
     DoneWithTurn
END_COMMAND

COMMAND GET ANY
     NOUNInRoom
     NOUNIsMovable
     LoadWeightLT 20
     NOUNweightGT 1
     NOUNweightLT 10
     GetNOUN
     PrintMessage 18
     DoneWithTurn
END_COMMAND

COMMAND GET ANY
     NOUNIsCarrying
     PrintMessage 19
     DoneWithTurn
END_COMMAND

COMMAND GET ANY
     NOUNIsWearing
     PrintMessage 20
     DoneWithTurn
END_COMMAND

COMMAND GET ANY
     NOT NOUNPresent
     PrintMessage 21
     DoneWithTurn
END_COMMAND

COMMAND GET ANY
     NOT NOUNIsMovable
     PrintMessage 22
     DoneWithTurn
END_COMMAND

COMMAND GET ANY
     NOUNIsMovable
     LoadWeightGT 20
     PrintMessage 23
     DoneWithTurn
END_COMMAND

COMMAND DROP ALL
     PrintMessage 17
     DoneWithTurn
END_COMMAND

COMMAND DROP ANY
     NOUNIsCarrying
     DropNOUN
     PrintMessage 24
     DoneWithTurn
END_COMMAND

COMMAND DROP ANY
     NOT NOUNPresent
     PrintMessage 26
     DoneWithTurn
END_COMMAND

COMMAND DROP ANY
     NOT NOUNIsCarrying
     PrintMessage 27
     DoneWithTurn
END_COMMAND

COMMAND EAT CANDY
     IsCarrying 203
     GoToRoom 199
     PrintMessage 33
     DoneWithTurn
END_COMMAND     

COMMAND EAT CANDY
     IsWearing 203
     PrintMessage 34
     DoneWithturn
END_COMMAND

COMMAND PUT ANY ON LEDGE
     AtLocation 6
     OR
     AtLocation 15
     PrintMessage 107
     DoneWithTurn
END_COMMAND

COMMAND PUT LATCHKEY IN HANDLE
     AtLocation 9
     IsCarrying 217
     Destroy 217            (*key*)
     SwapLocations 226 275  (*handle with key in it*)
     PrintMessage 38
     DoneWithTurn
END_COMMAND

COMMAND PUT LATCHKEY IN KNOB
     AtLocation 9
     PrintMessage 37
     DoneWithTurn
END_C0MMAND

COMMAND PUT LATCHKEY IN LEVER
     AtLocation 9
     PrintMessage 37
     DoneWithTurn
END_COMMAND

COMMAND PUT PASSKEY IN KNOB
     AtLocation 9
     IsCarrying 218
     Destroy 218
     SwapLocations 224 273
     PrintMessage 38
     DoneWithTurn
END_COMMAND

COMMAND PUT PASSKEY IN LEVER
     AtLocation 9
     PrintMessage 37
     DoneWithTurn
END_COMMAND

COMMAND PUT PASSKEY IN HANDLE
     AtLocation 9
     PrintMessage 37
     DoneWithTurn
END_COMMAND

COMMAND PUT MASTERKEY IN LEVER
     AtLocation 9
     IsCarrying 219
     Destroy 219
     SwapLocations 225 274
     PrintMessage 38
     DoneWithTurn
END_COMMAND

COMMAND PUT MASTERKEY IN HANDLE
     AtLocation 9
     PrintMessage 37
     DoneWithTurn
END_COMMAND

COMMAND WEAR ANY
     NOUNweightGT 1
     PrintMessage 1
     DoneWithTurn
END_COMMAND

COMMAND WEAR ANY
     NOT NOUNPresent
     PrintMessage 2
     DoneWithTurn
END_COMMAND

COMMAND WEAR ANY
     NOUNInRoom
     NOT NOUNIsCarrying
     PrintMessage 3
     DoneWithturn
END_COMMAND

COMMAND WEAR ANY
     NOT NOUNIsNumber 269
     NOUNIsCarrying
     NOUNweightEquals 1
     SendNOUNToRoom 1000
     PrintMessage 4
     DoneWithTurn
END_COMMAND

COMMAND WEAR ANY
     NOUNIsWearing
     PrintMessage 5
     DoneWithTurn
END_COMMAND

COMMAND REMOVE ANY
     NOT NOUNPresent
     PrintMessage 6
     DoneWithturn
END_COMMAND

COMMAND REMOVE ANY
     NOUNIsWearing
     NOT NOUNIsMovable
     PrintMessage 7
     DoneWithTurn
END_COMMAND

COMMAND REMOVE ANY
     NOT NOUNIsWearing
     PrintMessage 9
     DoneWithTurn
END_COMMAND

COMMAND REMOVE ANY
     NOT NOUNIsNumber 269
     NOUNIsWearing
     SendNounToRoom 1
     PrintMessage 8
     DoneWithTurn
END_COMMAND

COMMAND TURN LATCHKEY
     AtLocation 9
     InRoom 270
     IsWearing 204
     SwapLocations 204 205
     SwapLocations 231 228
     PrintMessage 39
     DoneWithTurn
END_COMMAND

COMMAND TURN LATCHKEY
     AtLocation 9
     IsWearing 205
     NOUNIsLocated 9
     PrintMessage 40
     DoneWithTurn
END_COMMAND

COMMAND TURN MASTERKEY
     AtLocation 9
     NOT IsWearing 205
     PrintMessage 40
     DoneWithTurn
END_COMMAND

COMMAND TURN MASTERKEY
     AtLocation 9
     IsWearing 205
     IsCarrying 215
     InRoom 272
     SwapLocations 215 223
     PrintMessage 42
     DoneWithTurn
END_COMMAND

COMMAND TURN MASTERKEY
     AtLocation 9
     IsWearing 205
     NOT IsCarrying 215
     NOUNIsLocated 9
     PrintMessage 40
     DoneWithTurn
END_COMMAND

COMMAND TURN PASSKEY
     AtLocation 9
     InRoom 271
     PrintMessage 44
     DoneWithTurn
END_COMMAND

COMMAND PUSH BUTTON
     AtLocation 9
     InRoom 231
     IsWearing 204
     PrintMessage 45
     DoneWithTurn
END_COMMAND

COMMAND PUSH BUTTON
     AtLocation 9
     InRoom 221
     InRoom 228
     IsWearing 205
     SwapLocations 221 227
     PrintMessage 46
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 9
     InRoom 227
     IsClosed 227
     PrintMessage 47
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 9
     InRoom 227
     IsOpen 227
     NOT IsCarrying 235
     ChangePassageway 2 26
     GoToRoom 26
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 9
     InRoom 227
     IsOpen 227
     IsCarrying 235
     ChangePassageway 2 12
     GoToRoom 12
     ToggleFlag 5
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 12
     GoToRoom 9
     ToggleFlag 5
     DoneWithTurn
END_COMMAND

COMMAND PUT ANY
     NOUNIsWearing
     PrintMessage 28
     DoneWithTurn
END_COMMAND

COMMAND PUT ANY
     NOT NOUNIsCarrying
     PrintMessage 29
     DoneWithTurn
END_COMMAND

COMMAND SMELL CONSOLE
     PrintMessage 48
     DoneWithTurn
END_COMMAND

COMMAND LOOK THROUGH GATE
     AtLocation 9
     PrintMessage 49
     DoneWithTurn
END_COMMAND

COMMAND TOUCH TORCH
     Present 234
     PrintMessage 50
     DoneWithTurn
END_COMMAND

COMMAND TIE ROPE TO STALAGMITE
     AtLocation 6
     IsCarrying 223
     SwapLocations 223 264
     SwapLocations 232 263
     SendToRoom 264 6
     PrintMessage 51
     DoneWithTurn
END_COMMAND

COMMAND TIE ROPE TO STALAGMITE
     AtLocation 15
     NOUNIsCarrying
     PrintMessage 55
     DoneWithTurn
END_COMMAND

COMMAND TIE ROPE
     PrintMessage 110
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 6
     IsCarrying 223
     PrintMessage 104
     DoneWithTurn
END_COMMAND

COMMAND CLIMB DOWN
     AtLocation 6
     IsCarrying 223
     PrintMessage 104
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 6
     NOT Present 264
     PrintMessage 100
     DoneWithTurn
END_COMMAND

COMMAND CLIMB DOWN
     AtLocation 6
     NOT Present 264
     PrintMessage 100
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 6
     NOT IsCarryingSomething
     InRoom 263
     InRoom 264     
     ChangePassageway 10 13
     GoToRoom 13
     RelocateAll 6 15
     SwapLocations 264 257
     PrintMessage 53
     DoneWithTurn
END_COMMAND

COMMAND CLIMB DOWN ROPE
     AtLocation 6
     NOT IsCarryingSomething
     InRoom 263
     InRoom 264
     ChangePassageway 10 13
     GoToRoom 13
     RelocateAll 6 15
     SwapLocations 264 257
     PrintMessage 53
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 6
     IsCarryingSomething
     PrintMessage 68
     DoneWithTurn
END_COMMAND

COMMAND CLIMB DOWN ROPE
     AtLocation 6
     IsCarryingSomething
     PrintMessage 68
     DoneWithTurn
END_COMMAND

COMMAND WEST
     AtLocation 13
     IsCarrying 237
     GoToRoom 14
     PlusScore 10
     DoneWithTurn
END_COMMAND

COMMAND UP
     AtLocation 13
     GoToRoom 15
     GetIt 257
     SwapLocations 263 232
     PrintMessage 52
     DoneWithTurn
END_COMMAND

COMMAND CLIMB UP ROPE
     AtLocation 13
     GoToRoom 15
     GetIt 257
     SwapLocations 263 232
     PrintMessage 52
     DoneWithTurn
END_COMMAND

COMMAND WEST
     AtLocation 15
     ChangePassageway 4 0
     GoToRoom 3
     PrintMessage 54
     DoneWithturn
END_COMMAND

COMMAND JUMP
     AtLocation 6
     OR
     AtLocation 13
     OR
     AtLocation 15
     PrintMessage 56
     DoneWithTurn
END_COMMAND

COMMAND JUMP
     PrintMessage 57
     DoneWithTurn
END_COMMAND

COMMAND SCREAM
     PrintMessage 57
     DoneWithTurn
END_COMMAND

COMMAND EAST
     AtLocation 6
     OR
     AtLocation 13
     OR
     AtLocation 15
     PrintMessage 58
     DoneWithTurn
END_COMMAND

COMMAND STRIKE MATCH
     AtLocation 14
     IsCarrying 236
     PrintMessage 105
     DoneWithTurn
END_COMMAND

COMMAND STRIKE MATCH
     IsCarrying 236
     TurnFlagON 2
     SwapLocations 236 237
     PrintMessage 60
     DoneWithTurn
END_COMMAND

COMMAND STRIKE MATCH
     IsCarrying 237
     PrintMessage 59
     DoneWithTurn
END_COMMAND

COMMAND STRIKE MATCH
     IsCarrying 238
     PrintMessage 61
     DoneWithTurn
END_COMMAND

COMMAND STRIKE MATCH
     NOT IsCarrying 236
     OR
     NOT IsCarrying 237
     OR
     NOT IsCarrying 238
     PrintMessage 29
     DoneWithTurn
END_COMMAND

COMMAND LIGHT TORCH WITH MATCH
     IsCarrying 237
     Present 234
     SwapLocations 234 235
     TurnFlagON 3     
     PrintMessage 63
     DoneWithTurn
END_COMMAND

COMMAND LIGHT TORCH WITH MATCH
     IsCarrying 236
     OR
     IsCarrying 238
     PrintMessage 64
     DoneWithTurn
END_COMMAND

COMMAND LIGHT TORCH WITH MATCH
     NOT IsCarrying 236
     OR
     NOT IsCarrying 237
     OR
     NOT IsCarrying 238
     PrintMessage 66
     DoneWithTurn
END_COMMAND

COMMAND LIGHT TORCH
     IsCarrying 237
     PrintMessage 99
     DoneWithTurn
END_COMMAND

COMMAND EXTINGUISH TORCH
     PrintMessage 67
     DoneWithTurn
END_COMMAND

COMMAND STRIKE BLOCK WITH ICEPICK
     AtLocation 4
     IsCarrying 243
     TurnFlagON 4
     VariableGT 4 2
     PrintMessage 122
     DoneWithTurn
END_COMMAND

COMMAND STRIKE BLOCK WITH ICEPICK
     AtLocation 4
     IsCarrying 243
     VariableEquals 4 2
     PrintMessage 70
     DoneWithTurn
END_COMMAND

COMMAND STRIKE BLOCK WITH ICEPICK
     AtLocation 4
     IsCarrying 243
     VariableEquals 4 1
     PrintMessage 71
     DoneWithTurn
END_COMMAND

COMMAND STRIKE BLOCK WITH ICEPICK
     AtLocation 4
     IsCarrying 243
     VariableEquals 4 0
     SwapLocations 241 242
     SendToRoom 240 2
     PlusScore 10
     PrintMessage 72
     DoneWithTurn
END_COMMAND

COMMAND STRIKE BLOCK WITH ICEPICK
     AtLocation 8
     IsCarrying 243
     SwapLocations 243 260
     PrintMessage 94
     DoneWithTurn
END_COMMAND

COMMAND STRIKE BLOCK WITH ICEPICK
     AtLocation 4
     OR
     AtLocation 8
     NOT IsCarrying 243
     PrintMessage 73
     DoneWithTurn
END_COMMAND

COMMAND MELT BLOCK WITH TORCH
     AtLocation 4
     OR
     AtLocation 8
     IsCarrying 235
     PrintMessage 74
     DoneWithTurn
END_COMMAND

COMMAND REACH THROUGH GATE
     AtLocation 9
     PrintMessage 41
     DoneWithTurn
END_COMMAND

COMMAND REACH THROUGH GATE
     AtLocation 20
     PrintMessage 75
     DoneWithTurn
END_COMMAND

COMMAND PUSH GATE
     PrintMessage 164
     DoneWithTurn
END_COMMAND

COMMAND PULL GATE
     PrintMessage 164
     DoneWithTurn
END_COMMAND

COMMAND PISS
     PrintMessage 165
     DoneWithTurn
END_COMMAND

COMMAND ASS
     PrintMessage 166
     DoneWithTurn
END_COMMAND

COMMAND TASTE ANY
     PrintMessage 167
     DoneWithTurn
END_COMMAND

COMMAND LOOK THROUGH GATE
     AtLocation 20
     PrintMessage 76
     DoneWithTurn
END_COMMAND

COMMAND MEASURE BLOCK WITH CALIPERS
     AtLocation 4
     IsCarrying 230
     PrintMessage 78
     DoneWithTurn
END_COMMAND

COMMAND MEASURE BALL WITH CALIPERS
     AtLocation 22
     Present 248
     IsCarrying 230
     PrintMessage 77
     DoneWithTurn
END_COMMAND

COMMAND MEASURE BALL WITH CALIPERS
     AtLocation 23
     Present 249
     IsCarrying 230
     PrintMessage 43
     DoneWithTurn
END_COMMAND

COMMAND MEASURE BALL WITH CALIPERS
     AtLocation 24
     Present 250
     IsCarrying 230
     PrintMessage 97
     DoneWithTurn
END_COMMAND

COMMAND MEASURE BALL WITH CALIPERS
     AtLocation 25
     Present 255
     IsCarrying 230
     PrintMessage 108
     DoneWithTurn
END_COMMAND

COMMAND MEASURE BALL
     PrintMessage 109
     DoneWithTurn
END_COMMAND

COMMAND TYPE 360
     AtLocation 22
     OR
     AtLocation 23
     OR
     AtLocation 24
     OR
     AtLocation 25
     IsCarrying 230
     GoToRoom 28
     DropEverything
     TurnFlagOFF 6
     Destroy 269
     PrintMessage 80
     DoneWithTurn
END_COMMAND

COMMAND TYPE ANY
     AtLocation 22
     OR
     AtLocation 23
     OR
     AtLocation 24
     OR
     AtLocation 25
     NOT NOUNIsNumber 267
     IsCarrying 230
     PrintMessage 113
     DoneWithTurn
END_COMMAND

COMMAND ANY
     AtLocation 20
     Present 252
     SendAllToRoom 20
     GoToRoom 199
     PrintMessage 115
     DoneWithTurn
END_COMMAND

COMMAND UNLOCK GATE WITH GOLD KEY
     AtLocation 20
     IsCarrying 242
     SwapLocations 244 253
     SwapLocations 245 254
     SendToRoom 246 2
     PrintMessage 85
     DoneWithTurn
END_COMMAND

COMMAND TURN KEY
     AtLocation 20
     InRoom 242
     PrintMessage 111
     DoneWithTurn
END_COMMAND

COMMAND TURN GOLD KEY
     AtLocation 20
     InRoom 242
     PrintMessage 111
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 20
     InRoom 253
     IsClosed 253
     PrintMessage 86
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 20
     InRoom 253
     IsOpen 253
     NOT IsCarrying 261
     PrintMessage 103
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 20
     InRoom 253
     IsOpen 253
     IsCarrying 261
     SwapLocations 261 262  (*good flashlight for bad*)
     SwapLocations 257 223  (*good rope fro frozen*)
     GoToRoom 27
     PlusScore 20
     PrintMessage 87         (*shiny obj.was ice*)
     SendAllToRoom 27
     Destroy 235             (*lit torch*)
     PutInCurrentRoom 252    (*dead torch*)
     PrintMessage 101        (*drop all-flshlt.works-torch out*)
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 27
     NOT IsCarrying 262
     PrintMessage 102
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 29
     RelocateAll 27 30
END_COMMAND

COMMAND SLEEP
     PrintMessage 93
     DoneWithTurn
END_COMMAND

COMMAND WEST
     AtLocation 18
     IsCarrying 243
     OR
     IsCarrying 242
     GoToRoom 28
     DoneWithTurn
END_COMMAND

COMMAND TURN ON FLASHLIGHT
     ReDirectTo LIGHT FLASHLIGHT
END_COMMAND

COMMAND LIGHT FLASHLIGHT
     IsCarrying 261
     PrintMessage 95
     DoneWithTurn
END_COMMAND

COMMAND LIGHT FLASHLIGHT
     NOT IsCarrying 261
     OR
     NOT IsCarrying 262
     PrintMessage 29
     DoneWithTurn
END_COMMAND

COMMAND LIGHT FLASHLIGHT
     IsCarrying 262
     PrintMessage 98
     DoneWithTurn
END_COMMAND

COMMAND EXTINGUISH FLASHLIGHT
     IsCarrying 262
     PrintMessage 96
     DoneWithTurn
END_COMMAND

COMMAND READ SIGN
     AtLocation 22
     InRoom 269
     OR
     IsCarrying 269
     NOT IsWearing 269
     PrintMessage 114
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 23
     InRoom 269
     OR
     IsCarrying 269
     NOT IsWearing 269
     PrintMessage 114
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 24
     InRoom 269
     OR
     IsCarrying 269
     NOT IsWearing 269
     PrintMessage 114
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 25
     InRoom 269
     OR
     IsCarrying 269
     NOT IsWearing 269
     PrintMessage 114
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 22
     IsWearing 269
     PrintMessage 116
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 23
     IsWearing 269
     PrintMessage 116
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 24
     IsWearing 269
     PrintMessage 116
     DoneWithturn
END_COMMAND

COMMAND READ SIGN
     AtLocation 25
     IsWearing 269
     PrintMessage 116
     DoneWithturn
END_COMMAND

COMMAND FIND ANY
     PrintMessage 123
     DoneWithTurn
END_COMMAND

COMMAND LISTEN
     AtLocation 43
     PrintMessage 124
     DoneWithTurn
END_COMMAND

COMMAND FEED CANDY TO MUMMY
     AtLocation 38
     IsWearing 203
     PrintMessage 34
     DoneWithTurn
END_COMMAND

COMMAND FEED CANDY TO MUMMY
     AtLocation 38
     Present 203
     NOT IsCarrying 203
     PrintMessage 29
     DoneWithTurn
END_COMMAND

COMMAND FEED CANDY TO MUMMY
     AtLocation 38
     NOT Present 203
     PrintMessage 21
     DoneWithTurn
END_COMMAND

COMMAND FEED CANDY TO MUMMY
     AtLocation 38
     IsCarrying 203
     Destroy 203
     Destroy 297
     DropIt 262
     PutInCurrentRoom 296
     PrintMessage 125
     TurnFlagON 7
     DoneWithTurn
END_COMMAND

COMMAND FEED CANDY
     IsSomewhere 203
     IsSomewhere 297
     PrintMessage 137
     DoneWithTurn
END_COMMAND

COMMAND SMELL LIQUID
     Present 283
     PrintMessage 128
     DoneWithTurn
END_COMMAND

COMMAND PUSH MUMMY
     Present 297
     OR
     Present 296
     PrintMessage 129
     DoneWithTurn
END_COMMAND

COMMAND PUSH VAMPIRE
     Present 299
     OR
     Present 295
     PrintMessage 130
     DoneWithTurn
END_COMMAND

COMMAND PUSH PHANTOM
     Present 298
     PrintMessage 131
     DoneWithTurn
END_COMMAND

COMMAND HIT MUMMY
     Present 296
     OR
     Present 297
     PrintMessage 132
     DoneWithTurn
END_COMMAND

COMMAND HIT VAMPIRE
     Present 299
     OR
     Present 295
     PrintMessage 132
     DoneWithTurn
END_COMMAND

COMMAND HIT PHANTOM
     Present 298
     PrintMessage 132
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 43
     IsSomewhere 296
     IsCarrying 262
     GoToRoom 41
     SendToRoom 298 41
     SendToRoom 292 41
     DropIt 262
     TurnFlagON 8
     PrintMessage 133
     PrintMessage 134
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 43
     IsSomewhere 296
     NOT IsCarrying 262
     GoToRoom 41
     SendToRoom 298 41
     SendToRoom 292 41
     TurnFlagON 8
     PrintMessage 169
     PrintMessage 134
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 43
     IsNowhere 296
     IsCarrying 262
     GoToRoom 41
     SendToRoom 298 41
     SendToRoom 292 41
     DropIt 262
     TurnFlagON 8
     PrintMessage 133
     DoneWithTurn
END_COMMAND

COMMAND SOUTH
     AtLocation 43
     IsNowhere 296
     NOT IsCarrying 262
     GoToRoom 41
     SendToRoom 298 41
     SendToRoom 292 41
     TurnFlagON 8
     PrintMessage 169
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 41
     Present 298
     PrintMessage 135
     DoneWithTurn
END_COMMAND

COMMAND WEST
     AtLocation 41
     Present 298
     PrintMessage 135
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 41
     Present 298
     GoToRoom 42
     ToggleFlag 8
     PrintMessage 140
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 41
     IsNowhere 298
     GoToRoom 42
     PrintMessage 140
     DoneWithTurn
END_COMMAND

COMMAND EAST
     AtLocation 36
     IsSomewhere 298
     GoToRoom 41
     ToggleFlag 8
     DoneWithTurn
END_COMMAND

COMMAND ANY
     AtLocation 41
     FlagON 8
     VariableEquals 8 3
     PrintMessage 170
     DoneWithTurn
END_COMMAND

COMMAND ANY
     AtLocation 41
     FlagON 8
     VariableEquals 8 0
     PrintMessage 136
     GoToRoom 199
     DoneWithTurn
END_COMMAND

COMMAND PUT STAKE IN EYE
     AtLocation 41
     Present 298
     Destroy 280
     PrintMessage 138
     DoneWithTurn
END_COMMAND

COMMAND POUR ACID ON PHANTOM
     AtLocation 41
     Present 298
     Destroy 282
     Destroy 283
     PrintMessage 139
     DoneWithTurn
END_COMMAND

COMMAND POUR ACID IN EYE
     AtLocation 41
     Present 298
     Destroy 282
     Destroy 283
     PrintMessage 139
     DoneWithTurn
END_COMMAND

COMMAND THROW ACID IN EYE
     AtLocation 41
     Present 298
     Destroy 282
     Destroy 283
     PrintMessage 139
     DoneWithTurn
END_COMMAND

COMMAND THROW ACID AT PHANTOM
     AtLocation 41
     Present 298
     Destroy 282
     Destroy 283
     PrintMessage 139
     DoneWithTurn
END_COMMAND

COMMAND POUR ACID ON MUMMY
     Present 297
     PrintMessage 141
     DoneWithTurn
END_COMMAND

COMMAND POUR ACID ON MUMMY
     Present 296
     PrintMessage 142
     DoneWithTurn
END_COMMAND

COMMAND THROW ACID AT MUMMY
     Present 297
     PrintMessage 141
     DoneWithTurn
END_COMMAND

COMMAND THROW ACID AT MUMMY
     Present 296
     PrintMessage 142
     DoneWithTurn
END_COMMAND

COMMAND GIVE ANY TO ANY
     PrintMessage 143
     DoneWithTurn
END_COMMAND

COMMAND DRIVE STAKE INTO VAMPIRE
     AtLocation 42
     Present 299
     NOT IsCarrying 280
     OR
     NOT IsCarrying 281
     PrintMessage 147
     DoneWithTurn
END_COMMAND

COMMAND DRIVE STAKE INTO VAMPIRE
     AtLocation 42
     Present 299
     IsCarrying 280
     IsCarrying 281
     DropEverything
     Destroy 299
     PutInCurrentRoom 295
     SwapLocations 277 287
     TurnFlagON 9
     PrintMessage 148
     DoneWithTurn
END_COMMAND

COMMAND UP
     AtLocation 42
     Present 295
     PrintMessage 149
     DoneWithTurn
END_COMMAND

COMMAND THROW ACID ON VAMPIRE
     AtLocation 42
     IsCarrying 282
     Present 295
     PutInCurrentRoom 282
     Destroy 283
     PrintMessage 152
     DoneWithTurn
END_COMMAND

COMMAND POUR ACID ON VAMPIRE
     AtLocation 42
     IsCarrying 282
     Destroy 283
     Present 295
     PrintMessage 152
     DoneWithTurn
END_COMMAND

COMMAND ANY
     AtLocation 42
     IsNowhere 296
     Present 295
     VariableEquals 9 3
     PrintMessage 150
     DoneWithTurn
END_COMMAND

COMMAND ANY
     AtLocation 42
     IsNowhere 296
     Present 295
     VariableEquals 9 0
     PrintMessage 151
     GoToRoom 199
     DoneWithTurn
END_COMMAND

COMMAND ANY
     AtLocation 42
     Present 295
     IsSomewhere 296
     PlusScore 30
     Destroy 295
     Destroy 296
     PrintMessage 153
     DoneWithTurn
END_COMMAND

COMMAND PUSH COFFIN
     ReDirectTo MOVE COFFIN
END_COMMAND

COMMAND MOVE COFFIN
     AtLocation 42
     IsNowhere 295
     Present 287
     PutInCurrentRoom 289
     PrintMessage 154
     DoneWithTurn
END_COMMAND

COMMAND TURN SKELETON KEY
     AtLocation 36
     InRoom 290
     PlusScore 25
     PrintMessage 158
     RemoveEverything
     DropEverything
     GoToRoom 44
     DoneWithTurn
END_COMMAND

COMMAND DOWN
     AtLocation 44
     PrintMessage 159
     DoneWithTurn
END_COMMAND

COMMAND EAST
     AtLocation 44
     PrintMessage 159
     DoneWithTurn
END_COMMAND

COMMAND WEST
     AtLocation 44
     PrintMessage 159
     DoneWithTurn
END_COMMAND

COMMAND NORTH
     AtLocation 44
     GoToRoom 45
     PrintMessage 160
     DoneWithTurn
END_COMMAND

COMMAND EXAMINE BODY
     AtLocation 46
     GoToRoom 198
     DoneWithTurn
END_COMMAND

COMMAND GET BODY
     AtLocation 46
     GoToRoom 198
     DoneWithTurn
END_COMMAND

COMMAND STAB MUMMY WITH ICEPICK
     AtLocation 38
     Present 297
     IsCarrying 243
     PrintMessage 161
     DoneWithTurn
END_COMMAND

COMMAND STAB MUMMY WITH ICEPICK
     Present 296
     IsCarrying 243
     PrintMessage 142
     DoneWithTurn
END_COMMAND

COMMAND STAB PHANTOM WITH ICEPICK
     AtLocation 41
     Present 298
     IsCarrying 243
     PrintMessage 162
     DoneWithTurn
END_COMMAND

COMMAND STAB VAMPIRE WITH ICEPICK
     AtLocation 42
     Present 299
     OR
     Present 295
     IsCarrying 243
     Destroy 243
     SendToRoom 260 1
     PrintMessage 163
     DoneWithTurn
END_COMMAND

COMMAND STAB ANY
     PrintMessage 168
     DoneWithTurn
END_COMMAND

